import { defineUniPages } from '@uni-helper/vite-plugin-uni-pages'

export default defineUniPages({
  pages: [],
  easycom: {
    autoscan: true,
    custom: {
      '^uv-(.*)': '@climblee/uv-ui/components/uv-$1/uv-$1.vue',
    },
  },
  globalStyle: {
    backgroundColor: '#F8F8F8',
    navigationBarBackgroundColor: '#3F8BF6',
    navigationBarTextStyle: 'white',
  },
  tabBar: {
    backgroundColor: '#fff',
    borderStyle: '#fff',
    color: '#BDBDBD',
    selectedColor: '#333333',
    list: [
      {
        pagePath: 'pages/home',
        iconPath: 'static/images/tab_1_0.png',
        selectedIconPath: 'static/images/tab_1_1.png',
        text: '抢单大厅',
      },
      {
        pagePath: 'pages/orders',
        iconPath: 'static/images/tab_2_0.png',
        selectedIconPath: 'static/images/tab_2_1.png',
        text: '订单管理',
      },
      {
        pagePath: 'pages/profile',
        iconPath: 'static/images/tab_3_0.png',
        selectedIconPath: 'static/images/tab_3_1.png',
        text: '个人中心',
      },
    ],
  },
})
